<template>
  <div>
      <!-- swiper用来定义一个轮播的子组件，方便调用 -->
       <mt-swipe :auto="4000">
         <mt-swipe-item v-for="item in lunbotuList" :key="item.img">
             <img :src="item.img" :class="{'full':isfull}">
         </mt-swipe-item>
      </mt-swipe>
  </div>
</template>

<script>
export default {
    data(){
        return{}
    },
    methods:{

    },
    props:['lunbotuList','isfull']


}
</script>

<style>
.mint-swipe-items-wrap{
    height:200px;
}
.mint-swipe-items-wrap{
    text-align: center;
}
.mint-swipe-items-wrap img{
    /* width:100%; */
    height: 100%;
}
.full{
    width:100%;
}

</style>